package me.muci.factoryPattern.factoryMethodPattern;


import me.muci.factoryPattern.factoryMethodPattern.factory.FactorySub;

/**
 * ClassName: Test <br/>
 * Description: <br/>
 * date: 2021/8/4 15:01<br/>
 *
 * @author muci<br />
 * @description
 * @since JDK 1.8
 */
public class Test {

    @org.junit.Test
    public void test(){
        FactorySub factorySub = new FactorySub();
        Operation operationSub = factorySub.createOperation();
        operationSub.setValue1(3.3d);
        operationSub.setValue2(1.1d);
        System.out.println(operationSub.getResults());
    }

}
